﻿@model IEnumerable<Forest.Lion.Model.MessageTemplate>
@{
    ViewBag.Title = "消息模板";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="wrap">
    <div class="wrapContents">
        <h1>
            消息模板</h1>
        <div class="search">
            <div class="search_left">
             <div class="caozuo">
                    @Html.ActionLink("创建", "Add", null, new { @class = "built" })<a href="#" class="delateAll">删除所有</a></div>
            </div>
            <div class="search_right">
            </div>
            <div class="cr">
            </div>
        </div>
        <table cellpadding="0" cellspacing="0" width="100%">
            <thead>
                <tr>
                    <th>
                        <input type="checkbox" />
                    </th>
                    <th>
                        模板名称
                    </th>
                    <th>
                        内容提要
                    </th>
                    <th>
                        操作
                    </th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model) {
                    <tr>
                        <td>
                            <input type="checkbox" />
                        </td>
                        <td align="left">
                            <b style="color: #12799a">@item.Subject</b>
                        </td>
                        <td align="left">@item.TemplateContent
                        </td>
                        <td align="left">
                            @Html.ActionLink("编辑", "Edit", new { id = item.Id })
                        </td>
                    </tr>
       
                }
            </tbody>
        </table>
        <div class="pagelists">
        </div>
    </div>
</div>
